import request from '@/utils/request'

// 查询大屏发布记录列表
export function listLedPublishManage(query) {
  return request({
    url: '/led/ledPublishManage/list',
    method: 'get',
    params: query
  })
}

// 查询大屏发布记录详细
export function getLedPublishManage(id) {
  return request({
    url: '/led/ledPublishManage/' + id,
    method: 'get'
  })
}

// 新增大屏发布记录
export function addLedPublishManage(data) {
  return request({
    url: '/led/ledPublishManage',
    method: 'post',
    data: data
  })
}

// 修改大屏发布记录
export function updateLedPublishManage(data) {
  return request({
    url: '/led/ledPublishManage',
    method: 'put',
    data: data
  })
}

// 删除大屏发布记录
export function delLedPublishManage(id) {
  return request({
    url: '/led/ledPublishManage/' + id,
    method: 'delete'
  })
}
